class WelcomeTest extends GroovyTestCase {

    void testShouldRenderWelcomeTemplateOnIndex() {
        def welcome = new Welcome()
        welcome.index()
        assert welcome.renders("welcome.html")
    }

    void testShouldBeDecoratedByWelcomeDecorator() {
        def welcome = new Welcome()
        assert welcome.isDecoratedBy("welcome.html")
    }

}
